/*
 * 
 */
package com.roc.page;

import java.io.Serializable;

/**
 * 
 * @author Administrator
 *
 */
public class WhereHQLFieldBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2889893071786811543L;
	private String fieldName;
	private Object fieldValue;
	private Object[] fieldValueArray;
	private String fieldOperation;
	private String likePosition;//FIRST,END,ALL
	private boolean NullSensitive;
	private String HQLStr;

	/**
	 * 
	 */
	public WhereHQLFieldBean() {
		super();
	}

	/**
	 * 
	 */
	public WhereHQLFieldBean(String fieldName,Object fieldValue,String fieldOperation,boolean NullSensitive) {
		this.fieldName=fieldName;
		this.fieldValue=fieldValue;
		this.fieldOperation=fieldOperation;
		this.NullSensitive=NullSensitive;
	}

	/**
	 * 
	 */
	public WhereHQLFieldBean(String fieldName,Object fieldValue,String fieldOperation,boolean NullSensitive,String likePosition) {
		this.fieldName=fieldName;
		this.fieldValue=fieldValue;
		this.fieldOperation=fieldOperation;
		this.likePosition=likePosition;
		this.NullSensitive=NullSensitive;
	}

	/**
	 * 
	 */
	public WhereHQLFieldBean(String fieldName,Object[] fieldValueArray,String fieldOperation,boolean NullSensitive) {
		this.fieldName=fieldName;
		this.fieldValueArray=fieldValueArray;
		this.fieldOperation=fieldOperation;
		this.NullSensitive=NullSensitive;
	}
	
	/**
	 * 
	 */
	public WhereHQLFieldBean(String HQLStr) {
		this.HQLStr=HQLStr;
	}

	/**
	 * @return the fieldName
	 */
	public String getFieldName() {
		return fieldName;
	}

	/**
	 * @param fieldName the fieldName to set
	 */
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	/**
	 * @return the fieldValue
	 */
	public Object getFieldValue() {
		return fieldValue;
	}

	/**
	 * @param fieldValue the fieldValue to set
	 */
	public void setFieldValue(Object fieldValue) {
		this.fieldValue = fieldValue;
	}

	/**
	 * @return the fieldValueArray
	 */
	public Object[] getFieldValueArray() {
		return fieldValueArray;
	}

	/**
	 * @param fieldValueArray the fieldValueArray to set
	 */
	public void setFieldValueArray(Object[] fieldValueArray) {
		this.fieldValueArray = fieldValueArray;
	}

	/**
	 * @return the fieldOperation
	 */
	public String getFieldOperation() {
		return fieldOperation;
	}

	/**
	 * @param fieldOperation the fieldOperation to set
	 */
	public void setFieldOperation(String fieldOperation) {
		this.fieldOperation = fieldOperation;
	}

	/**
	 * @return the likePosition
	 */
	public String getLikePosition() {
		return likePosition;
	}

	/**
	 * @param likePosition the likePosition to set
	 */
	public void setLikePosition(String likePosition) {
		this.likePosition = likePosition;
	}

	/**
	 * @return the nullSensitive
	 */
	public boolean isNullSensitive() {
		return NullSensitive;
	}

	/**
	 * @param nullSensitive the nullSensitive to set
	 */
	public void setNullSensitive(boolean nullSensitive) {
		NullSensitive = nullSensitive;
	}

	/**
	 * @return the hQLStr
	 */
	public String getHQLStr() {
		return HQLStr;
	}

	/**
	 * @param hQLStr the hQLStr to set
	 */
	public void setHQLStr(String hQLStr) {
		HQLStr = hQLStr;
	}

}
